package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Food;

import java.util.List;

public interface FoodDao {
    void add(Food food);

    void update(Food food);

    long findFoodName(String id);

    Page<Food> findBySeach(String queryString);

    void addFood(Food food);

    List<Food> findAll();

}
